package com.zygh.policeasset.service;

import com.zygh.policeasset.mapper.PurchaseProcessMapper;
import com.zygh.policeasset.pojo.PurchaseProcess;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/service/PurchaseProcessService.class */
public class PurchaseProcessService {
    @Autowired
    PurchaseProcessMapper purchaseProcessMapper;

    public int add(PurchaseProcess purchaseProcess) {
        return this.purchaseProcessMapper.add(purchaseProcess);
    }

    public List<PurchaseProcess> findAll(Integer projectId, String projectType) {
        return this.purchaseProcessMapper.findAll(projectId, projectType);
    }
}